inverted hollow triangle pattern in python